package com.jj.Dialect;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;

import javax.annotation.Resource;

@Configuration
public class DemThymeleafDialectConfig {
    @Resource
    private RedisTemplate redisTemplate;

    @Bean
    public SysDialect sysDialect(){
        return new SysDialect(redisTemplate);
    }
}
